+2005-07-18 Matthias Clasen <mclasen@redhat.com>
+
+ * gtk/gtkmain.c (gtk_parse_args, gtk_init_with_args): Call
+ gettext_initialization before checking gtk_initialized, otherwise
+ there are scenarios where it is not called at all. For an
+ example, see tests/testfilechooserbutton.c. (#310323,
+ Arkady L. Shane)
+
2005-07-18 Tor Lillqvist <tml@novell.com>
* gdk/win32/gdkgc-win32.c (gdk_win32_hdc_get): Be sure to remove
+2005-07-18 Matthias Clasen <mclasen@redhat.com>
+
+ * gtk/gtkmain.c (gtk_parse_args, gtk_init_with_args): Call
+ gettext_initialization before checking gtk_initialized, otherwise
+ there are scenarios where it is not called at all. For an
+ example, see tests/testfilechooserbutton.c. (#310323,
+ Arkady L. Shane)
+
2005-07-18 Tor Lillqvist <tml@novell.com>
* gdk/win32/gdkgc-win32.c (gdk_win32_hdc_get): Be sure to remove
+2005-07-18 Matthias Clasen <mclasen@redhat.com>
+
+ * gtk/gtkmain.c (gtk_parse_args, gtk_init_with_args): Call
+ gettext_initialization before checking gtk_initialized, otherwise
+ there are scenarios where it is not called at all. For an
+ example, see tests/testfilechooserbutton.c. (#310323,
+ Arkady L. Shane)
+
2005-07-18 Tor Lillqvist <tml@novell.com>
* gdk/win32/gdkgc-win32.c (gdk_win32_hdc_get): Be sure to remove
GOptionGroup *gtk_group;
gboolean retval;
+ gettext_initialization ();
+
if (gtk_initialized)
return TRUE;
if (!check_setugid ())
return FALSE;
- gettext_initialization ();
-
gtk_group = gtk_get_option_group (TRUE);
context = g_option_context_new (parameter_string);
GOptionContext *option_context;
GOptionGroup *gtk_group;
+ gettext_initialization ();
+
if (gtk_initialized)
return TRUE;
if (!check_setugid ())
return FALSE;
- gettext_initialization ();
-
option_context = g_option_context_new (NULL);
g_option_context_set_ignore_unknown_options (option_context, TRUE);
g_option_context_set_help_enabled (option_context, FALSE);